home *** CD-ROM | disk | FTP | other *** search
/ Delphi Developer's Kit 1996 / Delphi Developer's Kit 1996.iso / power / tform1 / readme.txt < prev    next >
Encoding:
Text File  |  1995-12-22  |  846 b   |  15 lines

  1. I have found a 'relatively elegant'  workaround to implement 
  2. inheritance of forms until delphi(ide) will supportit . I have 
  3. one ground level Formclass with some functionality and a lot of 
  4. derived forms filled with data(dbedits..). At later time when the 
  5. delphi support exists I want to minimize the changes I have to 
  6. do on the hundreds of forms:  OnFormCreate I call a method LoadRes
  7. (ReadComponentResFile) of my ground form. Maybe ReadComponentres 
  8. will also do it, havent tried it out yet. For each of the 
  9. componentclasses which I have in my ground form I had to place 
  10. one dummycomponent  in my derived forms !!!??? When the new 
  11. delphi comes out I just have to delete the dummy-component-group
  12. in all the data-forms and clear the call to ReadComponentResFile.
  13.  
  14. Markus Mayer, MAMAVISION Software Consult, Konstanz, Germany
  15.